package liquidfs.data;

import liquidfs.data.fs.*;

public class Handle {
   
   private long id;
   private LiquidObject object;
   private SharingMode shareMode;
   private OpenMode openMode;
   
   public Handle(long id, LiquidObject object, SharingMode shareMode, OpenMode openMode) {
      this.id = id;
      this.object = object;
      this.shareMode = shareMode;
      this.openMode = openMode;
   }

   public long getID() {
      return id;
   }

   public LiquidObject getObject() {
      return object;
   }

   public SharingMode getShareMode() {
      return shareMode;
   }
   
   public OpenMode getOpenMode () {
      return openMode;
   }
}
